var status = -1;
var selectionLog = [];

function action(mode, type, selection) {
    var reactor = "action" + cm.getMapId();
    eval(reactor)(mode, type, selection)
}

function action330003100(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }
    status++;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.fieldEffect_PlayFieldSound("FriendsStory/ding", 100);
            cm.fieldEffect_PlayFieldSound("FriendsStory/ding", 100);
            cm.effect_Text(["#fn黑体##fs26#神兽国际学校旧楼\r\n#fs14# 陈旧的医务室"], [100, 3500, 4, 0, 0, 1, 4, 0, 0, 0]);
            cm.spawnMobLimit(2700000, 1, 76, 43, 100);
            cm.spawnMobLimit(2700000, 1, 76, 43, 100);
            cm.spawnMobLimit(2700001, 1, 1048, 43, 100);
            cm.spawnMobLimit(2700001, 1, 1048, 43, 100);
            cm.spawnMobLimit(2700000, 1, 76, 43, 100);
            cm.spawnMobLimit(2700000, 1, 1534, 43, 100);
            cm.spawnMobLimit(2700001, 1, 1534, 43, 100);
            cm.spawnMobLimit(2700001, 1, 1048, 43, 100);
            cm.spawnMobLimit(2700001, 1, 1048, 43, 100);
            cm.spawnMobLimit(2700001, 1, 1944, 43, 100);
            cm.spawnMobLimit(2700000, 1, 562, 43, 100);
            cm.spawnMobLimit(2700000, 1, 562, 43, 100);
            cm.spawnMobLimit(2700001, 1, -167, 43, 100);
            cm.spawnMobLimit(2700001, 1, 1534, 43, 100);
            cm.spawnMobLimit(2700001, 1, 1468, 43, 100);
            cm.spawnMobLimit(2700000, 1, -167, 43, 100);
            cm.spawnMobLimit(2700001, 1, 76, 43, 100);
            cm.spawnMobLimit(2700001, 1, 319, 43, 100);
            cm.spawnMobLimit(2700001, 1, 1366, 43, 100);
            cm.spawnMobLimit(2700000, 1, 805, 43, 100);
            cm.spawnMobLimit(2700000, 1, 76, 43, 100);
            cm.spawnMobLimit(2700001, 1, 1534, 43, 100);
            cm.spawnMobLimit(2700001, 1, 1837, 43, 100);
            cm.spawnMobLimit(2700001, 1, 1960, 43, 100);
            cm.spawnMobLimit(2700001, 1, 2207, 43, 100);
            cm.spawnMobLimit(2700000, 1, 2217, 43, 100);
            cm.spawnMobLimit(2700001, 1, 2101, 43, 100);
            cm.spawnMobLimit(2700001, 1, 2020, 43, 100);
            cm.spawnMobLimit(2700001, 1, 1777, 43, 100);
            cm.spawnMobLimit(2700000, 1, 1048, 43, 100);
            cm.spawnMobLimit(2700000, 1, 1777, 43, 100);
            cm.spawnMobLimit(2700001, 1, -167, 43, 100);
            cm.spawnMobLimit(2700001, 1, 1048, 43, 100);
            cm.spawnMobLimit(2700001, 1, 1777, 43, 100);
            cm.spawnMobLimit(2700000, 1, -50, 43, 100);
            cm.spawnMobLimit(2700001, 1, -380, 43, 100);
            cm.dispose()
        }
    }
}

function action330003200(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }
    status++;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.fieldEffect_PlayFieldSound("FriendsStory/ding", 100);
            cm.fieldEffect_PlayFieldSound("FriendsStory/ding", 100);
            cm.effect_Text(["#fn黑体##fs26#神兽国际学校旧楼\r\n#fs14#陈旧的美术室"], [100, 3500, 4, 0, 0, 1, 4, 0, 0, 0]);
            cm.spawnMobLimit(2700002, 1, 1291, 43, 100);
            cm.spawnMobLimit(2700002, 1, 1534, 43, 100);
            cm.spawnMobLimit(2700003, 1, 1534, 43, 100);
            cm.spawnMobLimit(2700003, 1, -167, 43, 100);
            cm.spawnMobLimit(2700003, 1, 805, 43, 100);
            cm.spawnMobLimit(2700002, 1, 1744, -237, 100);
            cm.spawnMobLimit(2700002, 1, 1744, -237, 100);
            cm.spawnMobLimit(2700003, 1, 668, -276, 100);
            cm.spawnMobLimit(2700003, 1, 310, -276, 100);
            cm.spawnMobLimit(2700003, 1, 319, 43, 100);
            cm.spawnMobLimit(2700002, 1, 310, -276, 100);
            cm.spawnMobLimit(2700002, 1, 76, 43, 100);
            cm.spawnMobLimit(2700003, 1, 1291, 43, 100);
            cm.spawnMobLimit(2700003, 1, 76, 43, 100);
            cm.spawnMobLimit(2700003, 1, 562, 43, 100);
            cm.spawnMobLimit(2700002, 1, 848, -276, 100);
            cm.spawnMobLimit(2700002, 1, 488, -276, 100);
            cm.spawnMobLimit(2700003, 1, 848, -276, 100);
            cm.spawnMobLimit(2700003, 1, -167, 43, 100);
            cm.spawnMobLimit(2700003, 1, 488, -276, 100);
            cm.spawnMobLimit(2700002, 1, 310, -276, 100);
            cm.spawnMobLimit(2700002, 1, 310, -276, 100);
            cm.spawnMobLimit(2700003, 1, 488, -276, 100);
            cm.spawnMobLimit(2700003, 1, 310, -276, 100);
            cm.spawnMobLimit(2700003, 1, 1777, 43, 100);
            cm.spawnMobLimit(2700003, 1, 1407, 43, 100);
            cm.spawnMobLimit(2700002, 1, 562, 43, 100);
            cm.spawnMobLimit(2700002, 1, -167, 43, 100);
            cm.spawnMobLimit(2700003, 1, 1534, 43, 100);
            cm.spawnMobLimit(2700003, 1, 668, -276, 100);
            cm.spawnMobLimit(2700003, 1, 1048, 43, 100);
            cm.dispose()
        }
    }
}

function action330003300(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }
    status++;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.fieldEffect_PlayFieldSound("FriendsStory/ding", 100);
            cm.fieldEffect_PlayFieldSound("FriendsStory/ding", 100);
            cm.effect_Text(["#fn黑体##fs26#神兽国际学校旧楼\r\n#fs14# 陈旧的科学室"], [100, 3500, 4, 0, 0, 1, 4, 0, 0, 0]);
            cm.spawnMobLimit(2700004, 1, 76, 43, 100);
            cm.spawnMobLimit(2700004, 1, 76, 43, 100);
            cm.spawnMobLimit(2700005, 1, 1048, 43, 100);
            cm.spawnMobLimit(2700005, 1, 1048, 43, 100);
            cm.spawnMobLimit(2700004, 1, 76, 43, 100);
            cm.spawnMobLimit(2700004, 1, 1534, 43, 100);
            cm.spawnMobLimit(2700005, 1, 1534, 43, 100);
            cm.spawnMobLimit(2700005, 1, 1048, 43, 100);
            cm.spawnMobLimit(2700005, 1, 1048, 43, 100);
            cm.spawnMobLimit(2700005, 1, 1944, 43, 100);
            cm.spawnMobLimit(2700004, 1, 562, 43, 100);
            cm.spawnMobLimit(2700004, 1, 562, 43, 100);
            cm.spawnMobLimit(2700005, 1, -167, 43, 100);
            cm.spawnMobLimit(2700005, 1, 1534, 43, 100);
            cm.spawnMobLimit(2700005, 1, 1468, 43, 100);
            cm.spawnMobLimit(2700004, 1, -167, 43, 100);
            cm.spawnMobLimit(2700005, 1, 76, 43, 100);
            cm.spawnMobLimit(2700005, 1, 319, 43, 100);
            cm.spawnMobLimit(2700005, 1, 1366, 43, 100);
            cm.spawnMobLimit(2700004, 1, 805, 43, 100);
            cm.spawnMobLimit(2700004, 1, 76, 43, 100);
            cm.spawnMobLimit(2700005, 1, 1534, 43, 100);
            cm.spawnMobLimit(2700005, 1, 1837, 43, 100);
            cm.spawnMobLimit(2700005, 1, 1960, 43, 100);
            cm.spawnMobLimit(2700005, 1, 2207, 43, 100);
            cm.spawnMobLimit(2700004, 1, 2217, 43, 100);
            cm.spawnMobLimit(2700005, 1, 2101, 43, 100);
            cm.spawnMobLimit(2700005, 1, 2020, 43, 100);
            cm.spawnMobLimit(2700005, 1, 1777, 43, 100);
            cm.spawnMobLimit(2700004, 1, 1048, 43, 100);
            cm.spawnMobLimit(2700004, 1, 1777, 43, 100);
            cm.spawnMobLimit(2700005, 1, -167, 43, 100);
            cm.spawnMobLimit(2700005, 1, 1048, 43, 100);
            cm.spawnMobLimit(2700005, 1, 1777, 43, 100);
            cm.spawnMobLimit(2700004, 1, -50, 43, 100);
            cm.spawnMobLimit(2700005, 1, -380, 43, 100);
            cm.dispose()
        }
    }
}

function action330003400(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }
    status++;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.fieldEffect_PlayFieldSound("FriendsStory/ding", 100);
            cm.fieldEffect_PlayFieldSound("FriendsStory/ding", 100);
            cm.effect_Text(["#fn黑体##fs26#神兽国际学校旧楼\r\n#fs14#陈旧的音乐室"], [100, 3500, 4, 0, 0, 1, 4, 0, 0, 0]);
            cm.spawnMobLimit(2700006, 1, 331, -167, 100);
            cm.spawnMobLimit(2700006, 1, -167, 43, 100);
            cm.spawnMobLimit(2700007, 1, 1652, -336, 100);
            cm.spawnMobLimit(2700007, 1, 507, -167, 100);
            cm.spawnMobLimit(2700007, 1, 1534, 43, 100);
            cm.spawnMobLimit(2700007, 1, 1782, 43, 100);
            cm.spawnMobLimit(2700006, 1, 1534, 43, 100);
            cm.spawnMobLimit(2700006, 1, 1296, -336, 100);
            cm.spawnMobLimit(2700007, 1, 1534, 43, 100);
            cm.spawnMobLimit(2700007, 1, 1118, -336, 100);
            cm.spawnMobLimit(2700007, 1, -167, 43, 100);
            cm.spawnMobLimit(2700006, 1, 683, -167, 100);
            cm.spawnMobLimit(2700006, 1, 1652, -336, 100);
            cm.spawnMobLimit(2700007, 1, 1296, -336, 100);
            cm.spawnMobLimit(2700007, 1, 1652, -336, 100);
            cm.spawnMobLimit(2700007, 1, 331, -167, 100);
            cm.spawnMobLimit(2700007, 1, 775, -167, 100);
            cm.spawnMobLimit(2700007, 1, 744, 43, 100);
            cm.spawnMobLimit(2700007, 1, 287, -167, 100);
            cm.spawnMobLimit(2700006, 1, 319, 43, 100);
            cm.spawnMobLimit(2700006, 1, 76, 43, 100);
            cm.spawnMobLimit(2700007, 1, -167, 43, 100);
            cm.spawnMobLimit(2700007, 1, 683, -167, 100);
            cm.spawnMobLimit(2700007, 1, 1291, 43, 100);
            cm.spawnMobLimit(2700006, 1, -167, 43, 100);
            cm.spawnMobLimit(2700006, 1, 1777, 43, 100);
            cm.spawnMobLimit(2700007, 1, -167, 43, 100);
            cm.spawnMobLimit(2700007, 1, 1048, 43, 100);
            cm.spawnMobLimit(2700007, 1, 1296, -336, 100);
            cm.spawnMobLimit(2700006, 1, 683, -167, 100);
            cm.spawnMobLimit(2700006, 1, 1652, -336, 100);
            cm.spawnMobLimit(2700007, 1, 76, 43, 100);
            cm.spawnMobLimit(2700007, 1, 1118, -336, 100);
            cm.spawnMobLimit(2700007, 1, 2020, 43, 100);
            cm.dispose()
        }
    }
}

function action330003500(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }
    status++;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.fieldEffect_PlayFieldSound("FriendsStory/ding", 100);
            cm.fieldEffect_PlayFieldSound("FriendsStory/ding", 100);
            cm.effect_Text(["#fn黑体##fs26#神兽国际学校旧楼\r\n#fs14#陈旧的教室"], [100, 3500, 4, 0, 0, 1, 4, 0, 0, 0]);
            cm.spawnMobLimit(2700008, 1, -167, 43, 100);
            cm.spawnMobLimit(2700008, 1, 1290, 43, 100);
            cm.spawnMobLimit(2700009, 1, 561, 43, 100);
            cm.spawnMobLimit(2700009, 1, 1423, 43, 100);
            cm.spawnMobLimit(2700009, 1, 1290, 43, 100);
            cm.spawnMobLimit(2700008, 1, 76, 43, 100);
            cm.spawnMobLimit(2700008, 1, 561, 43, 100);
            cm.spawnMobLimit(2700009, 1, 319, 43, 100);
            cm.spawnMobLimit(2700009, 1, 804, 43, 100);
            cm.spawnMobLimit(2700009, 1, -167, 43, 100);
            cm.spawnMobLimit(2700008, 1, 561, 43, 100);
            cm.spawnMobLimit(2700008, 1, 319, 43, 100);
            cm.spawnMobLimit(2700009, 1, 561, 43, 100);
            cm.spawnMobLimit(2700009, 1, 804, 43, 100);
            cm.spawnMobLimit(2700009, 1, 1423, 43, 100);
            cm.spawnMobLimit(2700008, 1, 1423, 43, 100);
            cm.spawnMobLimit(2700008, 1, 1290, 43, 100);
            cm.spawnMobLimit(2700009, 1, 319, 43, 100);
            cm.spawnMobLimit(2700009, 1, 1047, 43, 100);
            cm.spawnMobLimit(2700009, 1, 1423, 43, 100);
            cm.spawnMobLimit(2700008, 1, 561, 43, 100);
            cm.spawnMobLimit(2700008, 1, 319, 43, 100);
            cm.spawnMobLimit(2700009, 1, 1423, 43, 100);
            cm.spawnMobLimit(2700009, 1, -167, 43, 100);
            cm.spawnMobLimit(2700009, 1, 1047, 43, 100);
            cm.spawnMobLimit(2700008, 1, -167, 43, 100);
            cm.spawnMobLimit(2700008, 1, 804, 43, 100);
            cm.spawnMobLimit(2700009, 1, 1423, 43, 100);
            cm.spawnMobLimit(2700009, 1, 76, 43, 100);
            cm.spawnMobLimit(2700009, 1, 1047, 43, 100);
            cm.dispose()
        }
    }
}

function action330003600(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }
    status++;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.fieldEffect_PlayFieldSound("FriendsStory/ding", 100);
            cm.fieldEffect_PlayFieldSound("FriendsStory/ding", 100);
            cm.effect_Text(["#fn黑体##fs26#神兽国际学校旧楼\r\n#fs14#屋顶"], [100, 3500, 4, 0, 0, 1, 4, 0, 0, 0]);
            cm.fieldEffect_Clear("monsterPark/extremeBoss");
            cm.spawnMobLimit(cm.rand(2700200, 2700204), 1, 1180, 13, 100);
            cm.fieldEffect_PlayFieldSound("FriendsStory/BossDetected", 100);
            cm.dispose()
        }
    }
}

function start() {
    status = -1;
    action(1, 0, 0)
};